package com.shiguiwu.springboot3.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

import java.util.Set;

/**
 * @description: 属性
 * @author: stone
 * @date: Created by 2023/7/19 23:31
 * @version: 1.0.0
 * @pakeage: com.shiguiwu.springboot3.properties
 */
@ConfigurationProperties(prefix = "mybatis.adapter")
@Data
public class MybatisProperties {

    /**
     * 是否生效
     */
    private boolean enable;

    private Integer timeout = 60 * 60 * 24;

}
